/// address : "深圳市福田区B709路;M262路;M262路大站快车;M441路"
/// distance : "670.0米"
/// city : null
/// provinceCode : ""
/// cityCode : null
/// streetCode : null
/// postcode : "440304"
/// county : null
/// lon : 114.060421146
/// countyCode : null
/// province : ""
/// street : null
/// name : "深业花园公交总站(公交站)"
/// distanceOffset : "21.14米"
/// id : "440304_702130fbba7dea5f40241a7e6d496c39"
/// lat : 22.5488636978

class MapLatLonDto {
  MapLatLonDto({
      String? address, 
      String? distance, 
      dynamic city, 
      String? provinceCode, 
      dynamic cityCode, 
      dynamic streetCode, 
      String? postcode, 
      dynamic county, 
      num? lon, 
      dynamic countyCode, 
      String? province, 
      dynamic street, 
      String? name, 
      String? distanceOffset, 
      String? id, 
      num? lat,}){
    _address = address;
    _distance = distance;
    _city = city;
    _provinceCode = provinceCode;
    _cityCode = cityCode;
    _streetCode = streetCode;
    _postcode = postcode;
    _county = county;
    _lon = lon;
    _countyCode = countyCode;
    _province = province;
    _street = street;
    _name = name;
    _distanceOffset = distanceOffset;
    _id = id;
    _lat = lat;
}

  MapLatLonDto.fromJson(dynamic json) {
    _address = json['address'];
    _distance = json['distance'];
    _city = json['city'];
    _provinceCode = json['provinceCode'];
    _cityCode = json['cityCode'];
    _streetCode = json['streetCode'];
    _postcode = json['postcode'];
    _county = json['county'];
    _lon = json['lon'];
    _countyCode = json['countyCode'];
    _province = json['province'];
    _street = json['street'];
    _name = json['name'];
    _distanceOffset = json['distanceOffset'];
    _id = json['id'];
    _lat = json['lat'];
  }
  String? _address;
  String? _distance;
  dynamic _city;
  String? _provinceCode;
  dynamic _cityCode;
  dynamic _streetCode;
  String? _postcode;
  dynamic _county;
  num? _lon;
  dynamic _countyCode;
  String? _province;
  dynamic _street;
  String? _name;
  String? _distanceOffset;
  String? _id;
  num? _lat;
MapLatLonDto copyWith({  String? address,
  String? distance,
  dynamic city,
  String? provinceCode,
  dynamic cityCode,
  dynamic streetCode,
  String? postcode,
  dynamic county,
  num? lon,
  dynamic countyCode,
  String? province,
  dynamic street,
  String? name,
  String? distanceOffset,
  String? id,
  num? lat,
}) => MapLatLonDto(  address: address ?? _address,
  distance: distance ?? _distance,
  city: city ?? _city,
  provinceCode: provinceCode ?? _provinceCode,
  cityCode: cityCode ?? _cityCode,
  streetCode: streetCode ?? _streetCode,
  postcode: postcode ?? _postcode,
  county: county ?? _county,
  lon: lon ?? _lon,
  countyCode: countyCode ?? _countyCode,
  province: province ?? _province,
  street: street ?? _street,
  name: name ?? _name,
  distanceOffset: distanceOffset ?? _distanceOffset,
  id: id ?? _id,
  lat: lat ?? _lat,
);
  String? get address => _address;
  String? get distance => _distance;
  dynamic get city => _city;
  String? get provinceCode => _provinceCode;
  dynamic get cityCode => _cityCode;
  dynamic get streetCode => _streetCode;
  String? get postcode => _postcode;
  dynamic get county => _county;
  num? get lon => _lon;
  dynamic get countyCode => _countyCode;
  String? get province => _province;
  dynamic get street => _street;
  String? get name => _name;
  String? get distanceOffset => _distanceOffset;
  String? get id => _id;
  num? get lat => _lat;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['address'] = _address;
    map['distance'] = _distance;
    map['city'] = _city;
    map['provinceCode'] = _provinceCode;
    map['cityCode'] = _cityCode;
    map['streetCode'] = _streetCode;
    map['postcode'] = _postcode;
    map['county'] = _county;
    map['lon'] = _lon;
    map['countyCode'] = _countyCode;
    map['province'] = _province;
    map['street'] = _street;
    map['name'] = _name;
    map['distanceOffset'] = _distanceOffset;
    map['id'] = _id;
    map['lat'] = _lat;
    return map;
  }

}